using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsQuotedetailEntity : EntityBase
	{
		public BsQuotedetailTable TableSchema
		{
			get
			{
				return (BsQuotedetailTable)_tableSchema;
			}
		}

		public BsQuotedetailEntity()
		{
			_tableSchema = BsQuotedetailTable.Current;
		}

		#region 属性列表
		
		public Decimal? QuoteDetailID
		{

			
			get{ return GetData<Decimal>(BsQuotedetailTable.C_QUOTEDETAILID); }
			
			
			set{ SetData(BsQuotedetailTable.C_QUOTEDETAILID, value); }
		}

		
		public String QuoteID
		{

							
			get{ return Convert.ToString(GetData(BsQuotedetailTable.C_QUOTEID));} 

			
			set{ SetData(BsQuotedetailTable.C_QUOTEID, value); }
		}

		
		public Decimal? OrderNum
		{

			
			get{ return GetData<Decimal>(BsQuotedetailTable.C_ORDERNUM); }
			
			
			set{ SetData(BsQuotedetailTable.C_ORDERNUM, value); }
		}

		
		public String ProductID
		{

							
			get{ return Convert.ToString(GetData(BsQuotedetailTable.C_PRODUCTID));} 

			
			set{ SetData(BsQuotedetailTable.C_PRODUCTID, value); }
		}

		
		public String CustomerPartNo
		{

							
			get{ return Convert.ToString(GetData(BsQuotedetailTable.C_CUSTOMERPARTNO));} 

			
			set{ SetData(BsQuotedetailTable.C_CUSTOMERPARTNO, value); }
		}

		
		public Decimal? Nums
		{

			
			get{ return GetData<Decimal>(BsQuotedetailTable.C_NUMS); }
			
			
			set{ SetData(BsQuotedetailTable.C_NUMS, value); }
		}

		
		public Decimal? Price
		{

			
			get{ return GetData<Decimal>(BsQuotedetailTable.C_PRICE); }
			
			
			set{ SetData(BsQuotedetailTable.C_PRICE, value); }
		}

		
		public Decimal? Amount
		{

			
			get{ return GetData<Decimal>(BsQuotedetailTable.C_AMOUNT); }
			
			
			set{ SetData(BsQuotedetailTable.C_AMOUNT, value); }
		}

		
		public Decimal? Tax
		{

			
			get{ return GetData<Decimal>(BsQuotedetailTable.C_TAX); }
			
			
			set{ SetData(BsQuotedetailTable.C_TAX, value); }
		}

		
		#endregion
	}
}

